package com.xunce.xcworkservice.service;

import com.xunce.xcworkservice.entity.Roles;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @ClassName:  RolesService  
 * @Author:     yanlong.guo      
 * @Date:       2023/12/15 18:06   
 */

public interface RolesService extends IService<Roles>{


    List<Roles> getList(boolean permission);

    boolean edit(Roles roles);

    boolean setSate(Integer id, Integer state);

    boolean checkDelete(Integer id);

    boolean rolePermissionEdit(Integer id, List<Integer> permission);
}
